home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Day Cry
/
Day Cry CD.bin
/
oh_towns
/
ugoku
/
src.lzh
/
MOVPLAY
/
UGOKU.H
< prev
next >
Wrap
Text File
|
1994-06-01
|
6KB
|
239 lines
/***************************************************************/
/* */
/* UGOKU.H */
/* */
/* MOVâtâ@âCâï, & V02âtâ@âCâï ì─É╢âVâXâeâÇâëâCâuâëâèùpâwâbâ_ */
/* 1993 9 29 */
/* */
/* î╦ôc ì_ */
/* */
/***************************************************************/
#define MOV_ERR_ACCESS 1 /* âtâ@âCâïé╠ô╟é▌ì₧é▌é╔Ä╕ösé╡é╜ */
#define MOV_ERR_FORM 58 /* âfü[â^é╠î`Ä«é¬òsôû */
#define MOV_ERR_MEMORY_OVER 7 /* âüâéâèü[òsæ½ */
/*
*
* élénéuè╓ÿAé╠è╓Éö
*
*/
/***** âIâôâüâéâèùpMOVì─É╢âCâjâVâââëâCâY *****/
int mov_memory_play_init(char *, int (*)(), int *,
int *, int *, int *, int *, int * );
/*
<<ê°Éöé╠Éαû╛>>
âtâ@âCâïû╝,checkè╓Éö,âtâîü[âÇÉö,x0,y0,x1,y1,âÅü[âNâTâCâY
*/
/***** âIâôâüâéâèùpMOVì─É╢ *****/
int mov_memory_play( char *, char *, char *, int, int );
/*
<<ê°Éöé╠Éαû╛>>
âoâbâtâ@(153600Byte),âÅü[âNâGâèâA(âÅü[âNâTâCâYByte),âtâ@âCâïû╝,
âéü[âh( 0:VRAM0pageÄgùp 1:VRAM1pageÄgùp 2:VRAM1,2pageÄgùp ),âEâGâCâg
*/
/***** âIâôâüâéâèùpMOVì─É╢(âèâsü[âgë±ÉöÄwÆΦë┬ö\é╚â^âCâv) *****/
int mov_memory_play_repeat( char *, char *, char *, int, int, int );
/*
<<ê°Éöé╠Éαû╛>>
âoâbâtâ@(153600Byte),âÅü[âNâGâèâA(âÅü[âNâTâCâYByte),âtâ@âCâïû╝,
âéü[âh( 0:VRAM0pageÄgùp 1:VRAM1pageÄgùp 2:VRAM1,2pageÄgùp ),
âEâGâCâg,âèâsü[âg
*/
/***** âfâBâXâNô╟é▌ì₧é▌MOVì─É╢âCâjâVâââëâCâY *****/
int mov_disk_play_init( char *, int (*)(), int *,
int *, int *, int *, int *, int * );
/*
<<ê°Éöé╠Éαû╛>>
âtâ@âCâïû╝,checkè╓Éö,âtâîü[âÇÉö,x0,y0,x1,y1,âÅü[âNâTâCâY
*/
/***** âfâBâXâNô╟é▌ì₧é▌MOVì─É╢ *****/
int mov_disk_play( char *, char *, char *, int, int );
/*
<<ê°Éöé╠Éαû╛>>
âoâbâtâ@(153600Byte),âÅü[âNâGâèâA(âÅü[âNâTâCâYByte),âtâ@âCâïû╝,
âéü[âh( 0:VRAM0pageÄgùp 1:VRAM1pageÄgùp 2:VRAM1,2pageÄgùp ),âEâGâCâg
*/
/***** âfâBâXâNô╟é▌ì₧é▌MOVì─É╢(âèâsü[âgë±ÉöÄwÆΦë┬ö\é╚â^âCâv) *****/
int mov_disk_play_repeat( char *, char *, char *, int, int, int );
/*
<<ê°Éöé╠Éαû╛>>
âoâbâtâ@(153600Byte),âÅü[âNâGâèâA(âÅü[âNâTâCâYByte),âtâ@âCâïû╝,
âéü[âh( 0:VRAM0pageÄgùp 1:VRAM1pageÄgùp 2:VRAM1,2pageÄgùp ),
âEâGâCâg,âèâsü[âg
*/
/* headé≡ô╟é▌ì┼Åëé╠frameé≡ vram page = 0 ([0x104]:0x00000000) */
/* é▄é╜é═ vram page = 1 ([0x104]:0x00040000) é╔ò\Ī */
mov_head_read_and_dsp( char *, int*,int*,int*,int*,int*,int*,
int, void *(*)(size_t),void (*)(void *) ) ;
/*
<<ê°Éöé╠Éαû╛>>
char *name ; âtâ@âCâïû╝
int *frm, *x0, *y0, *x1, *y1, *wt ; âtâîü[âÇ,æ╬èpì└òW,âEâFâCâg
int page ; ò\Īâyü[âW
void *(*TL_malloc)(size_t); mallocè╓Éö
void (*TL_free)(void *); freeè╓Éö
<<Ägùpùß>>
mov_head_read_and_dsp( "test.mov", &frame,&x0,&y0,&x1,&y1,&wait,
0, malloc, free ) ;
*/
/*
*
* éuéOéQè╓ÿAé╠è╓Éö
*
*/
/***** âIâôâüâéâèùpV02ì─É╢âCâjâVâââëâCâY *****/
int V02_memory_play_init( char *, int (*)(), int *, int *, int *, int * );
/*
<<ê°Éöé╠Éαû╛>>
âtâ@âCâïû╝,checkè╓Éö,âtâîü[âÇÉö,xd,yd,âÅü[âNâTâCâY
*/
/***** âIâôâüâéâèùpV02ì─É╢ *****/
int V02_memory_play( char *, char *, int, int );
/*
<<ê°Éöé╠Éαû╛>>
âÅü[âNâGâèâA(âÅü[âNâTâCâYByte),âtâ@âCâïû╝,
âéü[âh( 0:VRAM0pageÄgùp 1:VRAM1pageÄgùp ),âEâGâCâg
*/
/***** âIâôâüâéâèùpV02ì─É╢(âèâsü[âgë±ÉöÄwÆΦë┬ö\é╚â^âCâv) *****/
/********** 1993 9 ÉVïKÆ╟ë┴è╓Éö **********/
int V02_memory_play_repeat( char *, char *, int, int, int );
/*
<<ê°Éöé╠Éαû╛>>
âÅü[âNâGâèâA(âÅü[âNâTâCâYByte),âtâ@âCâïû╝,
âéü[âh( 0:VRAM0pageÄgùp 1:VRAM1pageÄgùp ),
âEâGâCâg,âèâsü[âgë±Éö( ùßèOÄûìÇ: -1é╚éτû│î└ë±âèâsü[âg, 0é╚éτ1ë± )
*/
/***** âfâBâXâNô╟é▌ì₧é▌V02ì─É╢âCâjâVâââëâCâY *****/
int V02_disk_play_init( char *, int (*)(), int *, int *, int *, int * );
/*
<<ê°Éöé╠Éαû╛>>
âtâ@âCâïû╝,checkè╓Éö,âtâîü[âÇÉö,xd,yd,âÅü[âNâTâCâY
*/
/***** âfâBâXâNô╟é▌ì₧é▌V02ì─É╢ *****/
int V02_disk_play( char *, char *, int, int );
/*
<<ê°Éöé╠Éαû╛>>
âÅü[âNâGâèâA(âÅü[âNâTâCâYByte),âtâ@âCâïû╝,
âéü[âh( 0:VRAM0pageÄgùp 1:VRAM1pageÄgùp ),âEâGâCâg
*/
/* V02 headé≡ô╟é▌ì┼Åëé╠frameé≡ vram page = 0 ([0x104]:0x00000000) */
/* é▄é╜é═ vram page = 1 ([0x104]:0x00040000) é╔ò\Ī */
int v02_head_read_and_dsp( char *, int*,int*,int*,int*,
int, void *(*)(size_t), void (*)(void *) );
/*
<<ê°Éöé╠Éαû╛>>
char *name; âtâ@âCâïû╝
int *frm, *x, *y, *wt ; âtâîü[âÇÉö,ëµû╩ëí,ëµû╩Åc,âEâGâCâg
int page ; ò\Īëµû╩é╠âyü[âW
void *(*TL_malloc)(size_t); mallocè╓Éö
void (*TL_free)(void *); freeè╓Éö
<<Ägùpùß>>
v02_head_read_and_dsp("test.v02", &frame, &x, &y, &wait, 0,
malloc, free);
*/
/*
*
* â}âïâ`â^âXâNé≡Ä└î╗é╖éΘé╜é▀é╠è╓Éö
*
*/
/***** èäéΦì₧é▌ï╓Ä~ *****/
int interrupt_disable() ;
/***** èäéΦì₧é▌ïûë┬ *****/
int interrupt_enable() ;
/***** éuéréxémébèäéΦì₧é▌âCâjâVâââëâCâY *****/
int VSYNC_init() ;
/***** éuéréxémébèäéΦì₧é▌ÅIù╣ *****/
int VSYNC_end() ;
/***** éuéréxémébèäéΦÅoé╡Åêù¥é╠ôoÿ^ *****/
void VSYNC_setEvent(void(*vsyncEvent)());
/*
<<ê°Éöé╠Éαû╛>>
èäéΦÅoé╡ɵé╠è╓Éö
*/
/***** éuéréxémébèäéΦÅoé╡Åêù¥é╠ĵô╛ *****/
void (*VSYNC_getEvent())();
/*
<<ê°Éöé╠Éαû╛>>
èäéΦÅoé╡ɵé╠è╓Éö
*/
/***** éuéréxémébèäéΦì₧é▌Åêù¥é╠ôoÿ^ *****/
void VSYNC_setEvent2(void(*vsyncEvent)());
/*
<<ê°Éöé╠Éαû╛>>
èäéΦì₧é▌ɵé╠è╓Éö
*/
/***** éuéréxémébèäéΦì₧é▌Åêù¥é╠ĵô╛ *****/
void (*VSYNC_getEvent2())();
/*
<<ê°Éöé╠Éαû╛>>
èäéΦì₧é▌ɵé╠è╓Éö
*/
/***** éuéréxémébâJâEâôâ^ü[ *****/
extern unsigned int VSYNC_counter;
/*
*
* é╗é╠æ╝
*
*/
/***** vdsysê│Åkâïü[â`âôé┼Ägéñ é╗éΩê╚èOé╠Ägéóò√é═ìléªé─é╚éó *****/
int vd_01_2( char *para );
/*
<<ê°Éöé╠Éαû╛>>
DWORD( para+0 ) = ycdataâAâhâîâX;
DWORD( para+4 ) = table_address;
DWORD( para+8 ) = wait;
DWORD( para+12) = page;
DWORD( para+16) = xd;
DWORD( para+20) = yd;
*/